<?php
session_start();
if(!isset($_SESSION['email'])){
	header("Location:index.php");
}
require 'conexao.php';
?>

<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
	<title>Orientação Acadêmica</title>
	<link rel="stylesheet" href="css/style.css" />
	<link href="css/jquery-ui-1.10.3.custom.min.css" rel="stylesheet">
	<link rel="stylesheet" href="css/menu.css" />	
       <link rel="stylesheet" href="css/layout.css" />	 
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/jquery-ui-1.10.0.custom.min.js"></script>
	<script type="text/javascript" src="js/script.js?tsid=<?php echo rand()* rand(); ?>"></script>
	
	<script type="text/javascript">
	$(document).ready(function(){
		getDataFromPages("inicio");		
	});
	
	function getDataFromPages(page){
		$.get(page+".php?tsid="+Math.random(),function(data) {
			$("#main").html($.trim(data));
			pageReadyFromPost();
		});
	}
	</script>
	
</head>
<body  style="background: #fff url(img/back.png) repeat top left;">

<div class="container">
  <img src="img/topo.png">
  <div id="menu"><?php include("menu.php"); ?></div>
  
   <div id="main"></div>
</div>

</body>
</html>